package com.kushe.entity;

import org.nutz.dao.entity.annotation.*;
import org.springframework.stereotype.Repository;

import java.sql.Time;
import java.util.Date;
import java.util.List;

/**
 * Created by WSDevotion on 2015/5/1.
 */
@Table("a_group")
public class Group {
    @Id
    private int id;

    @Column
    private String type;

    @Column
    private int creater_id;

    @Name
    private String name;

    @Column
    private String imageurl;

    @Column
    private int num;

    @Column
    private Date group_time;

    @Column
    private String description;

    @Column
    private int permissions;


    public void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public int getCreater_id() {
        return creater_id;
    }

    public void setCreater_id(int creater_id) {
        this.creater_id = creater_id;
    }

    public String getType() {
        return type;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getGroup_time() {
        return group_time;
    }

    public void setGroup_time(Date group_time) {
        this.group_time = group_time;
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getPermissions() {
        return permissions;
    }

    public void setPermissions(int permissions) {
        this.permissions = permissions;
    }
}
